evl_Fonts = CreateFrame("Frame", nil, UIParent)

local font = "Interface\\AddOns\\evl_Fonts\\VeraSe.ttf"
local scale = 0.75

function evl_Fonts:onEvent()
-- 	SystemFont:SetFont(font, 15 * scale)
-- 	SystemFont:SetTextColor(1.0, 1.0, 0)
-- 	GameFontNormal:SetFont(font, 13 * scale)
-- 	GameFontHighlight:SetFont(font, 13 * scale)
-- 	GameFontGreen:SetFont(font, 13 * scale)
-- 	GameFontGreen:SetTextColor(0.1, 1.0, 0.1)
-- 	GameFontRed:SetFont(font, 13 * scale)
-- 	GameFontRed:SetTextColor(1.0, 0.1, 0.1)
-- 	GameFontBlack:SetFont(font, 13 * scale)
-- 	GameFontBlack:SetTextColor(0, 0, 0)
-- 	GameFontWhite:SetFont(font, 13 * scale)
-- 	GameFontWhite:SetTextColor(1.0, 1.0, 1.0)
-- 	GameFontDisableSmall:SetTextColor(0.6, 0.6, 0.6)
-- 	GameFontDisable:SetFont(font, 13 * scale)
-- 	GameFontDisable:SetTextColor(0.5, 0.5, 0.5)
	ChatFrameEditBoxHeader:SetFont(font, 16 * scale)
	ChatFrameEditBox:SetFont(font, 16 * scale)
	
-- 	GameFontNormalSmall:SetFont(font, 12 * scale)
-- 	GameFontNormalSmall:SetTextColor(1.0, 0.82, 0)
-- 	GameFontHighlightSmall:SetFont(font, 12 * scale)
-- 	GameFontHighlightSmall:SetTextColor(1.0, 1.0, 1.0)
-- 	GameFontDisableSmall:SetFont(font, 12 * scale)
-- 	GameFontDisableSmall:SetTextColor(0.5, 0.5, 0.5)
-- 	GameFontDarkGraySmall:SetFont(font, 12 * scale)
-- 	GameFontDarkGraySmall:SetTextColor(0.35, 0.35, 0.35)
-- 	GameFontGreenSmall:SetFont(font, 12 * scale)
-- 	GameFontGreenSmall:SetTextColor(0.1, 1.0, 0.1)
-- 	GameFontRedSmall:SetFont(font, 12 * scale)
-- 	GameFontRedSmall:SetTextColor(1.0, 0.1, 0.1)
-- 	GameFontHighlightSmallOutline:SetFont(font, 12 * scale, "THINOUTLINE")
-- 	GameFontNormalLarge:SetFont(font, 16 * scale)
-- 	GameFontNormalLarge:SetTextColor(1.0, 0.82, 0)
-- 	GameFontHighlightLarge:SetFont(font, 16 * scale)
-- 	GameFontRedSmall:SetTextColor(1.0, 1.0, 1.0)
-- 	GameFontDisableLarge:SetFont(font, 16 * scale)
-- 	GameFontDisableLarge:SetTextColor(0.5, 0.5, 0.5)
-- 	GameFontGreenLarge:SetFont(font, 16 * scale)
-- 	GameFontGreenLarge:SetTextColor(0.1, 1.0, 0.1)
-- 	GameFontRedLarge:SetFont(font, 16 * scale)
-- 	GameFontRedLarge:SetTextColor(1.0, 0.1, 0.1)
	
-- 	NumberFontNormal:SetFont(font, 16 * scale, "OUTLINE")
-- 	NumberFontNormal:SetTextColor(1.0, 1.0, 1.0)
-- 	NumberFontNormalYellow:SetFont(font, 16 * scale, "OUTLINE")
-- 	NumberFontNormalYellow:SetTextColor(1.0, 0.82, 0)
-- 	NumberFontNormalSmall:SetFont(font, 14 * scale, "THINOUTLINE")
-- 	NumberFontNormalSmall:SetTextColor(1.0, 1.0, 1.0)
-- 	NumberFontNormalSmallGray:SetFont(font, 13 * scale, "THINOUTLINE")
-- 	NumberFontNormalSmallGray:SetTextColor(0.75, 0.75, 0.75)
-- 	NumberFontNormalLarge:SetFont(font, 17 * scale, "OUTLINE")
-- 	NumberFontNormalLarge:SetTextColor(1.0, 1.0, 1.0)
-- 	NumberFontNormalHuge:SetFont(font, 32 * scale, "THICKOUTLINE")
-- 	NumberFontNormalHuge:SetTextColor(1.0, 1.0, 1.0)
	
-- 	ChatFontNormal:SetFont(font, 14 * scale)
-- 	ChatFontNormal:SetTextColor(1.0, 1.0, 1.0)
	
-- 	QuestTitleFont:SetFont(font, 19 * scale)
-- 	QuestTitleFont:SetShadowOffset(1, -1)
-- 	QuestFont:SetFont(font, 15 * scale)
-- 	QuestFontNormalSmall:SetFont(font, 13 * scale)
-- 	QuestFontHighlight:SetFont(font, 22 * scale)
-- 	QuestFontHighlight:SetShadowOffset(1, -1)
-- 	ItemTextFontNormal:SetFont(font, 15 * scale)
-- 	ItemTextFontNormal:SetTextColor(0.18, 0.12, 0.06)
-- 	SubSpellFont:SetFont(font, 13 * scale)
-- 	SubSpellFont:SetTextColor(0.35, 0.2, 0)
-- 	DialogButtonNormalText:SetFont(font, 16 * scale)
-- 	DialogButtonNormalText:SetTextColor(1.0, 0.82, 0)
-- 	DialogButtonHighlightText:SetFont(font, 16 * scale)
-- 	DialogButtonHighlightText:SetTextColor(1.0, 1.0, 1.0)
	
-- 	ZoneTextFont:SetFont(font, 106 * scale, "THICKOUTLINE")
-- 	ZoneTextFont:SetTextColor(1.0, 0.9294, 0.7607)
-- 	ZoneTextFont:SetShadowColor(0, 0, 0)
-- 	ZoneTextFont:SetShadowOffset(1, -1)
-- 	SubZoneTextFont:SetFont(font, 28 * scale, "THICKOUTLINE")
-- 	ErrorFont:SetFont(font, 16)
-- 	TextStatusBarText:SetFont(font, 16 * scale, "OUTLINE")
-- 	TextStatusBarTextSmall:SetFont(font, 14 * scale, "OUTLINE")
-- 	TextStatusBarTextSmall:SetTextColor(1.0, 1.0, 1.0)
-- 	CombatLogFont:SetFont(font, 13 * scale)
-- 	GameTooltipText:SetFont(font, 13 * scale)
-- 	GameTooltipText:SetTextColor(1.0, 1.0, 1.0)
-- 	GameTooltipTextSmall:SetFont(font, 12 * scale)
-- 	GameTooltipTextSmall:SetTextColor(1.0, 1.0, 1.0)
-- 	GameTooltipHeaderText:SetFont(font, 15 * scale)
-- 	GameTooltipHeaderText:SetTextColor(1.0, 1.0, 1.0)
-- 	WorldMapTextFont:SetFont(font, 106 * scale, "THICKOUTLINE")
-- 	WorldMapTextFont:SetTextColor(1.0, 0.9294, 0.7607)
-- 	WorldMapTextFont:SetShadowColor(0, 0, 0)
-- 	WorldMapTextFont:SetShadowOffset(1, -1)
-- 	MailTextFontNormal:SetFont(font, 16 * scale)
-- 	MailTextFontNormal:SetTextColor(0.18, 0.12, 0.06)
-- 	InvoiceTextFontNormal:SetFont(font, 14 * scale)
-- 	InvoiceTextFontNormal:SetTextColor(0.18, 0.12, 0.06)
-- 	InvoiceTextFontSmall:SetFont(font, 12 * scale)
-- 	InvoiceTextFontSmall:SetTextColor(0.18, 0.12, 0.06)
	
-- 	CombatTextFont:SetFont(font, 25)
	
	ChatFrame1:SetFont(font, 14 * scale)
	ChatFrame1:SetTextColor(1.0, 1.0, 1.0)
	ChatFrame2:SetFont(font, 14 * scale)
	ChatFrame2:SetTextColor(1.0, 1.0, 1.0)
end

evl_Fonts:SetScript("OnEvent", self.onEvent)
evl_Fonts:RegisterEvent("PLAYER_ENTERING_WORLD")
